﻿using System;
using System.Web.Services;
using Business.DbConnect.Constant;

namespace ServerMotorManagement.Services
{
    /// <summary>
    /// Summary description for AccountManager
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
    // [System.Web.Script.Services.ScriptService]
    public class AccountManager : System.Web.Services.WebService
    {
        [WebMethod]
        public bool CheckSystemUserAuthentication(String username, String password)
        {
            return UserService.CheckClientAuthentication(username, password);
        }
    }
}